package net.knightwatch.kwtools.walkthrough.items;

import java.util.ArrayList;

public class ItemType {
	private long itemTypeId;
	private String name;
	private ArrayList<Question> questions;
	/** 
	 * Create a new item type without the need for a name of the item type
	 */
	public ItemType(){
		// Default constructor that does not require any parameters
		setQuestions(new ArrayList<Question>());
	}
	/**
	 * Create a new item type defining the name of the item type. 
	 * @param string
	 */
	public ItemType(String string) {
		// TODO Constructor for Item type that accepts a Type Name
		this.name = string;
	}
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return this.name;
	}
	public long getItemTypeId() {
		return itemTypeId;
	}
	public void setItemTypeId(long itemTypeId) {
		this.itemTypeId = itemTypeId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public ArrayList<Question> getQuestions() {
		return questions;
	}
	public void setQuestions(ArrayList<Question> questions) {
		this.questions = questions;
	}
}
